	<template>
  <div
    class="all"
    :style="{ height: screenHeight + 'px', width: screenWidth + 'px' }"
  >
    <div class="top">
      <div @click="returnTap">取消</div>
      <span>群二维码名片</span>
      <van-icon style="font-size: 25px" name="ellipsis" @click="openClick" />
    </div>
    <div class="back">
      <div class="backTop">
        <img class="back_img" src="../../assets/images/logo.png" alt="" />
        <span>测试群</span>
      </div>
      <div class="backcard">
        <img src="../../assets/images/card.png" alt="" />
      </div>
      <div class="backBottom">
        该二维码7天内(8月23日前）有效，重新进入将更新
      </div>
    </div>
    <van-overlay
      :show="show"
      @click="show = false"
      style="background: rgba(30, 30, 30, 0.5)"
    >
      <div class="wrapper" @click.stop>
        <div class="block">
          <div class="blockOne" @click="fasongTap">发送给朋友</div>
          <div class="blockOne">保存图片</div>
          <div class="blockOne" @click="show = false">取消</div>
        </div>
      </div>
    </van-overlay>
  </div>
</template>
<script>
import Return from "../../components/return";
export default {
  components: {
    Return,
  },
  data() {
    return {
      screenWidth:
        window.innerWidth ,
      screenHeight:
        window.innerHeight ,
      show: false,
    };
  },
  methods: {
    fasongTap() {
      this.$router.push("/cardpeople");
    },

    returnTap() {
      this.$router.go(-1);
    },
    openClick() {
      this.show = true;
    },
  },
};
</script>
<style scoped>
.top {
  height: 60px;
  width: 90%;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 60px;
  position: relative;
  background:#4AC7D7
}
.all {
  background:#4AC7D7
}
.back {
  width: 90%;
  margin-left: 5%;
  height: 450px;
  margin-top: 50px;
  background: #fff;
}
.backTop {
  height: 100px;
  display: flex;
  align-items: center;
}
.backTop img {
  width: 80px;
  height: 80px;
  border-radius: 5px;
  margin: 0 10px;
}
.backTop span {
  font-weight: bold;
}
.backcard {
  justify-content: center;
  display: flex;
  align-items: center;
}
.backcard img {
  width: 85%;
  height: 300px;
}
.backBottom {
  font-size: 10px;
  margin-top: 20px;
  text-align: center;
  color: #aeaeae;
}
.block {
  height: 210px;
  width: 100%;
  position: fixed;
  right: 0px;
  bottom: 0px;
  z-index: 100;
  background: rgba(255, 255, 255, 1);
  border-radius: 5px;
  z-index: 999;
}
.blockOne {
  height: 70px;
  width: 100%;
  text-align: center;
  line-height: 68px;
}
.block1 {
  color: red;
}
</style>